package com.platform.car.model;

import java.sql.Time;
import java.util.Date;

public class Parking {

    /**
     * 编号
     */
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 省份
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String area;

    /**
     * 具体地址
     */
    private String address;

    /**
     * 经度
     */
    private Double lng;

    /**
     * 纬度
     */
    private Double lat;

    /**
     * 联系人
     */
    private String contacts;

    /**
     * 联系人电话
     */
    private String conPhone;

    /**
     * 白天费用
     */
    private Double dayFee;

    /**
     * 晚上费用
     */
    private Double nightFee;

    /**
     * 开放时间
     */
    private Time startTime;

    /**
     * 结束时间
     */
    private Time stopTime;

    /**
     * 创建时间
     */
    private Date CreateTime;

    /**
     * 备注
     */
    private String info;

    /**
     * 图片的id
     */
    private Integer imgId;

    /**
     * 停车办的ID
     */
    private String officeId;

    /**
     * 层数
     */
    private Integer floor;

    /**
     * app预约免费的时长
     */
    private Integer charging;

    private String balance;

    /**
     * 统计所有车位的个数
     */
    private Long countParkTotal;

    /**
     * 统计未预定车位的个数
     */
    private Long countPark;

    /**
     * 统计智能车位未预定的个数
     */
    private Long countAutoParkTotal;

    /**
     * 统计智能车位的个数
     */
    private Long countAutoPark;

    /**
     * 统计非智能车位的个数
     */
    private Long countOrdinaryParkTotal;

    /**
     * 统计非智能车位且未预定
     */
    private Long countOrdinaryPark;


    /**
     * 组织的ID
     */
    private Integer orgId;

    /**
     * 查找的内容
     */
    private String search;

    /**
     * 停车场地图的路径
     */
    private String img;

    public Parking() {
    }

    public Parking(Integer id, String name, String province, String city, String area, String address, Double lng, Double lat, String contacts, String conPhone, Double dayFee, Double nightFee, Time startTime, Time stopTime, Date createTime, String info, Integer imgId, String officeId, Integer floor, Integer charging, String balance) {
        this.id = id;
        this.name = name;
        this.province = province;
        this.city = city;
        this.area = area;
        this.address = address;
        this.lng = lng;
        this.lat = lat;
        this.contacts = contacts;
        this.conPhone = conPhone;
        this.dayFee = dayFee;
        this.nightFee = nightFee;
        this.startTime = startTime;
        this.stopTime = stopTime;
        CreateTime = createTime;
        this.info = info;
        this.imgId = imgId;
        this.officeId = officeId;
        this.floor = floor;
        this.charging = charging;
        this.balance = balance;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getConPhone() {
        return conPhone;
    }

    public void setConPhone(String conPhone) {
        this.conPhone = conPhone;
    }

    public Double getDayFee() {
        return dayFee;
    }

    public void setDayFee(Double dayFee) {
        this.dayFee = dayFee;
    }

    public Double getNightFee() {
        return nightFee;
    }

    public void setNightFee(Double nightFee) {
        this.nightFee = nightFee;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Time startTime) {
        this.startTime = startTime;
    }

    public Time getStopTime() {
        return stopTime;
    }

    public void setStopTime(Time stopTime) {
        this.stopTime = stopTime;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Integer getImgId() {
        return imgId;
    }

    public void setImgId(Integer imgId) {
        this.imgId = imgId;
    }

    public String getOfficeId() {
        return officeId;
    }

    public void setOfficeId(String officeId) {
        this.officeId = officeId;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public Integer getCharging() {
        return charging;
    }

    public void setCharging(Integer charging) {
        this.charging = charging;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }


    public Long getCountParkTotal() {
        return countParkTotal;
    }

    public void setCountParkTotal(Long countParkTotal) {
        this.countParkTotal = countParkTotal;
    }

    public Long getCountPark() {
        return countPark;
    }

    public void setCountPark(Long countPark) {
        this.countPark = countPark;
    }

    public Long getCountAutoParkTotal() {
        return countAutoParkTotal;
    }

    public void setCountAutoParkTotal(Long countAutoParkTotal) {
        this.countAutoParkTotal = countAutoParkTotal;
    }

    public Long getCountAutoPark() {
        return countAutoPark;
    }

    public void setCountAutoPark(Long countAutoPark) {
        this.countAutoPark = countAutoPark;
    }

    public Long getCountOrdinaryParkTotal() {
        return countOrdinaryParkTotal;
    }

    public void setCountOrdinaryParkTotal(Long countOrdinaryParkTotal) {
        this.countOrdinaryParkTotal = countOrdinaryParkTotal;
    }

    public Long getCountOrdinaryPark() {
        return countOrdinaryPark;
    }

    public void setCountOrdinaryPark(Long countOrdinaryPark) {
        this.countOrdinaryPark = countOrdinaryPark;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return "Parking{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", address='" + address + '\'' +
                ", lng=" + lng +
                ", lat=" + lat +
                ", contacts='" + contacts + '\'' +
                ", conPhone='" + conPhone + '\'' +
                ", dayFee=" + dayFee +
                ", nightFee=" + nightFee +
                ", startTime=" + startTime +
                ", stopTime=" + stopTime +
                ", CreateTime=" + CreateTime +
                ", info='" + info + '\'' +
                ", imgId=" + imgId +
                ", officeId='" + officeId + '\'' +
                ", floor=" + floor +
                ", charging=" + charging +
                ", balance='" + balance + '\'' +
                '}';
    }
}
